import request from "./ajax";
// export default function (){
//     return request({url:'/getlogin',method:'get'})
// }
// export const getUserInfo = () => {
//   return new Promise((resolve, reject) => {
//     resolve(request({ method: "get", url: "/getlogin" }));
//   });
// };
export const getVideoData = () => request({ url: "/videoData",method: "get" });
export const getUserInfo = () => request({ url: "/getlogin",method: "get" });
export const getStory = () => request({ url: "/getstory",method: "get" });
export const getSearch = () => request({ url: "/getsearch",method: "get" })
export const getHot = () => request({url: "/gethot",method: "get"})
export const getSearchDetail = () => request({url: "/getkeyword",method: "get"})
export const getTuijian = () => request({ url: "/gettuijian",method: "get" });
export const getList = () => request({ url: "/getlist",method: "get" });
export const getSelect=()=>request({url:'/getselect',method:"get"})
export const getErrorMsg=()=>request({url:'/errormsg',method:'get'})
